package xin.petstore.framework.web.page;

import java.io.Serializable;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "FileInfo")
public class FileInfo
        implements Serializable {

    @Id
    private String id;
    private String sysType;
    private String fileUrl;
    private String hashcode;

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSysType() {
        return this.sysType;
    }

    public void setSysType(String sysType) {
        this.sysType = sysType;
    }

    public String getFileUrl() {
        return this.fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getHashcode() {
        return this.hashcode;
    }

    public void setHashcode(String hashcode) {
        this.hashcode = hashcode;
    }

    public String toString() {
        return "FileInfo [id=" + this.id + ", sysType=" + this.sysType + ", fileUrl=" +
                this.fileUrl + ", hashcode=" + this.hashcode + "]";
    }
}

